package com.panshi.modules.system.mapper;

import com.panshi.modules.system.bean.BeiSysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 用户角色表  Mapper 接口
 * </p>
 *
 * @author 小伍
 * @since 2020-08-07
 */
@Mapper
@Repository
public interface BeiSysUserRoleMapper extends BaseMapper<BeiSysUserRole> {
    void deleteSysUserRole(@Param("uid") Integer uid);

    void deleteSysRoleByrid(@Param("rid") Integer rid);//根据rid删除用户角色关系表
}
